package part06_装饰者模式;

/** 2-咖啡类，继承饮料类
 * @ClassName: Coffee
 * @Author: AllenSun
 * @Date: 2019/12/10 22:45
 */
public class Coffee extends Drink {
    @Override
    public float cost() {
        return super.getPrice();
    }
}
